package edu.chinasoft.pojo;

import org.apache.ibatis.type.Alias;
@Alias( "idCard" )
public
class IdCard {
    private int IDcardId;
    private String IDcardNo;
    //根据业务决定
    private User user;

    public
    IdCard() {
    }

    public
    IdCard(int IDcardId, String IDcardNo, User user) {
        this.IDcardId = IDcardId;
        this.IDcardNo = IDcardNo;
        this.user = user;
    }

    public
    int getIDcardId() {
        return IDcardId;
    }

    public
    void setIDcardId(int IDcardId) {
        this.IDcardId = IDcardId;
    }

    public
    String getIDcardNo() {
        return IDcardNo;
    }

    public
    void setIDcardNo(String IDcardNo) {
        this.IDcardNo = IDcardNo;
    }

    public
    User getUser() {
        return user;
    }

    public
    void setUser(User user) {
        this.user = user;
    }

    @Override
    public
    String toString() {
        return "IdCard{" +
                "IDcardId=" + IDcardId +
                ", IDcardNo='" + IDcardNo + '\'' +
                ", user=" + user +
                '}';
    }
}
